package _022_2_16

func countOdds(low int, high int) int {
	oddNum := 0
	beg := 0
	if low%2 == 0 {
		beg = low + 1
	} else {
		beg = low
	}
	for i := beg; i <= high; i += 2 {
		oddNum++
	}

	return oddNum
}
